package com.ugoodtech.mdcc.core;


import java.util.HashMap;
import java.util.Map;

/**
 * Constant values used throughout the application.
 */
public final class QuestionConstants {

    public static final String TEXT = "文本";
    public static final String RADIO = "单选";
    public static final String CHECKBOX = "多选";
    public static final String DROPDOWN = "下拉";
    public static final String UPLOAD_PHOTO = "上传图片";
    public static final String UPLOAD_FILE = "上传文件";
    public static final String RADIO_PHOTO = "单选_加图片";


    public static final String ADD_TEXT = "允许";
    public static final String NOT_ADD_TEXT = "不允许";

    public static final Map<String,String> QUESTION_LIST = new HashMap<>();

    static {
        QUESTION_LIST.put("TEXT",TEXT);
        QUESTION_LIST.put("RADIO",RADIO);
        QUESTION_LIST.put("CHECKBOX",CHECKBOX);
        QUESTION_LIST.put("DROPDOWN",DROPDOWN);
        QUESTION_LIST.put("UPLOAD_PHOTO",UPLOAD_PHOTO);
        QUESTION_LIST.put("UPLOAD_FILE",UPLOAD_FILE);
        QUESTION_LIST.put("RADIO_PHOTO",RADIO_PHOTO);
    }


}
